package com.xd.core.business.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xd.core.business.entity.IncomingCommonLoan;
import com.xd.core.business.entity.IncomingUrgentContact;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 放款表
 * </p>
 *
 * @author ZX
 * @since 2025-02-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class OutInfoAppVo implements Serializable {

    @ApiModelProperty(value = "放款id")
    private Integer outId;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "身份证")
    private String idCard;

    @ApiModelProperty(value = "实际放款金额")
    private String outAmount;

    @ApiModelProperty(value = "年化率%")
    private BigDecimal rate;

    @ApiModelProperty(value = "还款日")
    private String repayDay;

    @ApiModelProperty(value = "还款方式")
    private String loanMethod;

    @ApiModelProperty(value = "贷款期限")
    private Integer term;

    @ApiModelProperty(value = "还款频率（0--天，1--月，2--周）")
    private String repayFrequency;

    @ApiModelProperty(value = "实际借款结束日期")
    @JsonFormat(pattern = "yyyy-MM-dd", shape = JsonFormat.Shape.STRING, timezone = "GMT+8")
    private Date outEndTime;

    @ApiModelProperty(value = "支付到账时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", shape = JsonFormat.Shape.STRING, timezone = "GMT+8")
    private Date payTime;


}
